import { publicData } from './publicData.js';
export const mixin = {
  data() {
    return {
      publicInfo: null,
    };
  },
  created() {
    this.init();
  },
  methods: {
    init() {
      if (this.isParent) {
        this.publicInfo = new publicData('test');
      } else {
        this.publicInfo = this.$parent.publicInfo;
      }
    },
  },
};
